package com.example.utgardtutorial1.controller;


import com.example.utgardtutorial1.entity.Zhsc1;
import com.example.utgardtutorial1.service.Zhsc1Service;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

import java.util.List;
import java.util.TreeMap;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author wwc
 * @since 2023-10-23
 */
@RestController
@RequestMapping("/zhsc1")
public class Zhsc1Controller {

    @Autowired
    Zhsc1Service zhsc1Service;


    @ApiOperation("过程中水质（浊度）")
    @GetMapping("getWaterQuality")
    public List<Zhsc1> getWaterQuality() {
        return zhsc1Service.list();
    }
}

